package com.ruoyi.system.domain;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资领用对象 t_receive
 * 
 * @author ruoyi
 * @date 2023-12-22
 */
@ApiModel("物资领用对象")
public class TReceive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 项目名称 */
    @ApiModelProperty(name = "项目名称")
    private String projectName;

    /** 项目ID */
    @ApiModelProperty(name = "项目ID")
    private String projectId;

    /** 物质类别数量 */
    @ApiModelProperty(name = "物质类别数量")
    private Integer quantity;

    /** 物资总数量 */
    @ApiModelProperty(name = "物资总数量")
    private Integer totalQuantity;

    /** 总价 */
    @ApiModelProperty(name = "总价")
    private BigDecimal totalPrice;

    /** 税额 */
    @ApiModelProperty(name = "税额")
    private BigDecimal taxPrice;

    /** 价格合计 */
    @ApiModelProperty(name = "价格合计")
    private BigDecimal total;

    /** 1是创建2是撤销 */
    @ApiModelProperty(name = "1是创建2是撤销")
    private Integer receiveStatus;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setQuantity(Integer quantity) 
    {
        this.quantity = quantity;
    }

    public Integer getQuantity() 
    {
        return quantity;
    }
    public void setTotalQuantity(Integer totalQuantity) 
    {
        this.totalQuantity = totalQuantity;
    }

    public Integer getTotalQuantity() 
    {
        return totalQuantity;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }
    public void setTaxPrice(BigDecimal taxPrice) 
    {
        this.taxPrice = taxPrice;
    }

    public BigDecimal getTaxPrice() 
    {
        return taxPrice;
    }
    public void setTotal(BigDecimal total) 
    {
        this.total = total;
    }

    public BigDecimal getTotal() 
    {
        return total;
    }
    public void setReceiveStatus(Integer receiveStatus) 
    {
        this.receiveStatus = receiveStatus;
    }

    public Integer getReceiveStatus() 
    {
        return receiveStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectName", getProjectName())
            .append("projectId", getProjectId())
            .append("createBy", getCreateBy())
            .append("quantity", getQuantity())
            .append("totalQuantity", getTotalQuantity())
            .append("totalPrice", getTotalPrice())
            .append("taxPrice", getTaxPrice())
            .append("total", getTotal())
            .append("createTime", getCreateTime())
            .append("receiveStatus", getReceiveStatus())
            .toString();
    }
}
